package com.niiwoo.civet.account.dao.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BatchTransOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BatchTransOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoIsNull() {
            addCriterion("batch_request_no is null");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoIsNotNull() {
            addCriterion("batch_request_no is not null");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoEqualTo(String value) {
            addCriterion("batch_request_no =", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoNotEqualTo(String value) {
            addCriterion("batch_request_no <>", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoGreaterThan(String value) {
            addCriterion("batch_request_no >", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoGreaterThanOrEqualTo(String value) {
            addCriterion("batch_request_no >=", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoLessThan(String value) {
            addCriterion("batch_request_no <", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoLessThanOrEqualTo(String value) {
            addCriterion("batch_request_no <=", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoLike(String value) {
            addCriterion("batch_request_no like", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoNotLike(String value) {
            addCriterion("batch_request_no not like", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoIn(List<String> values) {
            addCriterion("batch_request_no in", values, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoNotIn(List<String> values) {
            addCriterion("batch_request_no not in", values, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoBetween(String value1, String value2) {
            addCriterion("batch_request_no between", value1, value2, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoNotBetween(String value1, String value2) {
            addCriterion("batch_request_no not between", value1, value2, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andTradeTypeIsNull() {
            addCriterion("trade_type is null");
            return (Criteria) this;
        }

        public Criteria andTradeTypeIsNotNull() {
            addCriterion("trade_type is not null");
            return (Criteria) this;
        }

        public Criteria andTradeTypeEqualTo(Byte value) {
            addCriterion("trade_type =", value, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeNotEqualTo(Byte value) {
            addCriterion("trade_type <>", value, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeGreaterThan(Byte value) {
            addCriterion("trade_type >", value, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("trade_type >=", value, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeLessThan(Byte value) {
            addCriterion("trade_type <", value, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeLessThanOrEqualTo(Byte value) {
            addCriterion("trade_type <=", value, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeIn(List<Byte> values) {
            addCriterion("trade_type in", values, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeNotIn(List<Byte> values) {
            addCriterion("trade_type not in", values, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeBetween(Byte value1, Byte value2) {
            addCriterion("trade_type between", value1, value2, "tradeType");
            return (Criteria) this;
        }

        public Criteria andTradeTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("trade_type not between", value1, value2, "tradeType");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(Long value) {
            addCriterion("project_id =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(Long value) {
            addCriterion("project_id <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(Long value) {
            addCriterion("project_id >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(Long value) {
            addCriterion("project_id >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(Long value) {
            addCriterion("project_id <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(Long value) {
            addCriterion("project_id <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<Long> values) {
            addCriterion("project_id in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<Long> values) {
            addCriterion("project_id not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(Long value1, Long value2) {
            addCriterion("project_id between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(Long value1, Long value2) {
            addCriterion("project_id not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdIsNull() {
            addCriterion("borrower_user_id is null");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdIsNotNull() {
            addCriterion("borrower_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdEqualTo(Long value) {
            addCriterion("borrower_user_id =", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdNotEqualTo(Long value) {
            addCriterion("borrower_user_id <>", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdGreaterThan(Long value) {
            addCriterion("borrower_user_id >", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("borrower_user_id >=", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdLessThan(Long value) {
            addCriterion("borrower_user_id <", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdLessThanOrEqualTo(Long value) {
            addCriterion("borrower_user_id <=", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdIn(List<Long> values) {
            addCriterion("borrower_user_id in", values, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdNotIn(List<Long> values) {
            addCriterion("borrower_user_id not in", values, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdBetween(Long value1, Long value2) {
            addCriterion("borrower_user_id between", value1, value2, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdNotBetween(Long value1, Long value2) {
            addCriterion("borrower_user_id not between", value1, value2, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodIsNull() {
            addCriterion("current_period is null");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodIsNotNull() {
            addCriterion("current_period is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodEqualTo(Integer value) {
            addCriterion("current_period =", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodNotEqualTo(Integer value) {
            addCriterion("current_period <>", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodGreaterThan(Integer value) {
            addCriterion("current_period >", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("current_period >=", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodLessThan(Integer value) {
            addCriterion("current_period <", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodLessThanOrEqualTo(Integer value) {
            addCriterion("current_period <=", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodIn(List<Integer> values) {
            addCriterion("current_period in", values, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodNotIn(List<Integer> values) {
            addCriterion("current_period not in", values, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodBetween(Integer value1, Integer value2) {
            addCriterion("current_period between", value1, value2, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("current_period not between", value1, value2, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodIsNull() {
            addCriterion("total_period is null");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodIsNotNull() {
            addCriterion("total_period is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodEqualTo(Integer value) {
            addCriterion("total_period =", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodNotEqualTo(Integer value) {
            addCriterion("total_period <>", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodGreaterThan(Integer value) {
            addCriterion("total_period >", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_period >=", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodLessThan(Integer value) {
            addCriterion("total_period <", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodLessThanOrEqualTo(Integer value) {
            addCriterion("total_period <=", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodIn(List<Integer> values) {
            addCriterion("total_period in", values, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodNotIn(List<Integer> values) {
            addCriterion("total_period not in", values, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodBetween(Integer value1, Integer value2) {
            addCriterion("total_period between", value1, value2, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("total_period not between", value1, value2, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andProjectTitleIsNull() {
            addCriterion("project_title is null");
            return (Criteria) this;
        }

        public Criteria andProjectTitleIsNotNull() {
            addCriterion("project_title is not null");
            return (Criteria) this;
        }

        public Criteria andProjectTitleEqualTo(String value) {
            addCriterion("project_title =", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleNotEqualTo(String value) {
            addCriterion("project_title <>", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleGreaterThan(String value) {
            addCriterion("project_title >", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleGreaterThanOrEqualTo(String value) {
            addCriterion("project_title >=", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleLessThan(String value) {
            addCriterion("project_title <", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleLessThanOrEqualTo(String value) {
            addCriterion("project_title <=", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleLike(String value) {
            addCriterion("project_title like", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleNotLike(String value) {
            addCriterion("project_title not like", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleIn(List<String> values) {
            addCriterion("project_title in", values, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleNotIn(List<String> values) {
            addCriterion("project_title not in", values, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleBetween(String value1, String value2) {
            addCriterion("project_title between", value1, value2, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleNotBetween(String value1, String value2) {
            addCriterion("project_title not between", value1, value2, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdIsNull() {
            addCriterion("pro_trans_order_id is null");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdIsNotNull() {
            addCriterion("pro_trans_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdEqualTo(Long value) {
            addCriterion("pro_trans_order_id =", value, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdNotEqualTo(Long value) {
            addCriterion("pro_trans_order_id <>", value, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdGreaterThan(Long value) {
            addCriterion("pro_trans_order_id >", value, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("pro_trans_order_id >=", value, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdLessThan(Long value) {
            addCriterion("pro_trans_order_id <", value, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("pro_trans_order_id <=", value, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdIn(List<Long> values) {
            addCriterion("pro_trans_order_id in", values, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdNotIn(List<Long> values) {
            addCriterion("pro_trans_order_id not in", values, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdBetween(Long value1, Long value2) {
            addCriterion("pro_trans_order_id between", value1, value2, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andProTransOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("pro_trans_order_id not between", value1, value2, "proTransOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdIsNull() {
            addCriterion("withhold_order_id is null");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdIsNotNull() {
            addCriterion("withhold_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdEqualTo(Long value) {
            addCriterion("withhold_order_id =", value, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdNotEqualTo(Long value) {
            addCriterion("withhold_order_id <>", value, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdGreaterThan(Long value) {
            addCriterion("withhold_order_id >", value, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("withhold_order_id >=", value, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdLessThan(Long value) {
            addCriterion("withhold_order_id <", value, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("withhold_order_id <=", value, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdIn(List<Long> values) {
            addCriterion("withhold_order_id in", values, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdNotIn(List<Long> values) {
            addCriterion("withhold_order_id not in", values, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdBetween(Long value1, Long value2) {
            addCriterion("withhold_order_id between", value1, value2, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andWithholdOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("withhold_order_id not between", value1, value2, "withholdOrderId");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeIsNull() {
            addCriterion("batch_refund_type is null");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeIsNotNull() {
            addCriterion("batch_refund_type is not null");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeEqualTo(Byte value) {
            addCriterion("batch_refund_type =", value, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeNotEqualTo(Byte value) {
            addCriterion("batch_refund_type <>", value, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeGreaterThan(Byte value) {
            addCriterion("batch_refund_type >", value, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("batch_refund_type >=", value, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeLessThan(Byte value) {
            addCriterion("batch_refund_type <", value, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeLessThanOrEqualTo(Byte value) {
            addCriterion("batch_refund_type <=", value, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeIn(List<Byte> values) {
            addCriterion("batch_refund_type in", values, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeNotIn(List<Byte> values) {
            addCriterion("batch_refund_type not in", values, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeBetween(Byte value1, Byte value2) {
            addCriterion("batch_refund_type between", value1, value2, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andBatchRefundTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("batch_refund_type not between", value1, value2, "batchRefundType");
            return (Criteria) this;
        }

        public Criteria andRepayStatusIsNull() {
            addCriterion("repay_status is null");
            return (Criteria) this;
        }

        public Criteria andRepayStatusIsNotNull() {
            addCriterion("repay_status is not null");
            return (Criteria) this;
        }

        public Criteria andRepayStatusEqualTo(Byte value) {
            addCriterion("repay_status =", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusNotEqualTo(Byte value) {
            addCriterion("repay_status <>", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusGreaterThan(Byte value) {
            addCriterion("repay_status >", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("repay_status >=", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusLessThan(Byte value) {
            addCriterion("repay_status <", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusLessThanOrEqualTo(Byte value) {
            addCriterion("repay_status <=", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusIn(List<Byte> values) {
            addCriterion("repay_status in", values, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusNotIn(List<Byte> values) {
            addCriterion("repay_status not in", values, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusBetween(Byte value1, Byte value2) {
            addCriterion("repay_status between", value1, value2, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("repay_status not between", value1, value2, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}